package com.yishusmt.mobsmt.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户返回实体
 *
 * @author zhangyi
 * @date 2018/8/11 15:16
 */
@Data
public class OrderDetailsRes {
    private Long id;

    private Long userId;

    private Long receivingAddressId;

    private Integer processMaterial;

    private Integer mounting;

    private Long steelMeshId;

    private Long jigId;

    private Long deliveryTime;

    private Integer aoi;

    private Integer materialGeneration;

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date generationTime;

    private String remark;

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Long boardCount;

    private Integer status;

    private Long commissionerId;

    private Integer payType;

    private BigDecimal payMoney;

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rejectTime;

    private String orderNo;
}
